SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 53008: The DOSUBL function might return an error when creating a read-only macro variable

DetailsAboutRate It

The following error is written to the SAS® log when you use the READONLY option in a %GLOBAL or %LOCAL statement within the DOSUBL function, and a read-only macro variable has already been created:

ERROR: The variable A was declared READONLY and cannot be modified or re-declared.

For example, the following sample code generates the error:

%global / readonly a=100; data _null_; rc = dosubl('%global / readonly b=200;'); run;

There is currently no circumvention for this problem.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.4 TS1M09.4 TS1M2
Z649.4 TS1M09.4 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.4 TS1M0
Microsoft® Windows® for x649.4 TS1M09.4 TS1M2
Microsoft Windows 8 Enterprise x649.4 TS1M09.4 TS1M2
Microsoft Windows 8 Pro x649.4 TS1M09.4 TS1M2
Microsoft Windows 8.1 Enterprise 32-bit9.4 TS1M09.4 TS1M2
Microsoft Windows 8.1 Enterprise x649.4 TS1M09.4 TS1M2
Microsoft Windows 8.1 Pro9.4 TS1M09.4 TS1M2
Microsoft Windows 8.1 Pro 32-bit9.4 TS1M09.4 TS1M2
Microsoft Windows Server 2008 R29.4 TS1M09.4 TS1M2
Microsoft Windows Server 2008 for x649.4 TS1M09.4 TS1M2
Microsoft Windows Server 2012 Datacenter9.4 TS1M09.4 TS1M2
Microsoft Windows Server 2012 R2 Datacenter9.4 TS1M09.4 TS1M2
Microsoft Windows Server 2012 R2 Std9.4 TS1M09.4 TS1M2
Microsoft Windows Server 2012 Std9.4 TS1M09.4 TS1M2
Windows 7 Enterprise x649.4 TS1M09.4 TS1M2
Windows 7 Professional x649.4 TS1M09.4 TS1M2
64-bit Enabled AIX9.4 TS1M09.4 TS1M2
64-bit Enabled HP-UX9.4 TS1M09.4 TS1M2
64-bit Enabled Solaris9.4 TS1M09.4 TS1M2
HP-UX IPF9.4 TS1M09.4 TS1M2
Linux for x649.4 TS1M09.4 TS1M2
Solaris for x649.4 TS1M09.4 TS1M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.